import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import config from './modules/config'
import auth from './modules/auth'
import custom from './modules/custom'
import channel from './modules/channel'
import menu from './modules/menu'
import source from './modules/source'
import sms from './modules/sms'
import team from './modules/team'
import signature from './modules/signature'
import tab from './modules/tab'
import order from './modules/order'
import teamRule from './modules/team-rule'
import intelSea from './modules/intel-sea'
import perfStat from './modules/perf-stat'
import rollStat from './modules/roll-stat'
import invalidRoll from './modules/invalid-roll'
import invalidCustom from './modules/invalid-custom'
import funnelTransform from './modules/funnel-transform'
import Lesson from './modules/lesson'
import Article from './modules/article'
import Comment from './modules/comment'

export default new Vuex.Store({
  modules: {
    config,
    auth,
    custom,
    channel,
    menu,
    source,
    sms,
    team,
    signature,
    tab,
    teamRule,
    order,
    intelSea,
    perfStat,
    rollStat,
    invalidRoll,
    invalidCustom,
    funnelTransform,
    Lesson,
    Article,
    Comment
  }
})
